<?php
/**
 * Created by PhpStorm.
 * User: tangchao
 * Date: 19-4-19
 * Time: 下午2:36
 * 链式操作
 */
define('BASEDIR',__DIR__);

include BASEDIR.'/Lib/Loader.php';

spl_autoload_register('\\Lib\\Loader::autoload');

$db = new \Lib\Database();

$db->where('age > 18')->order('id desc')->limit('10');
